import 'package:flutter/material.dart';
import 'package:fluttertoast/fluttertoast.dart';

/*
* toast封装类
* */

class CommonToast{
  static showToast(String msg){
    Fluttertoast.showToast(
        msg: msg,
        toastLength: Toast.LENGTH_SHORT,
        gravity: ToastGravity.CENTER,

        fontSize: 16.0
    );
  }
}
